<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="/public/js/lovCommon.js"></script>
<script type="text/javascript"
	src="/public/bower_components/jquery/jquery-3.0.0.min.js"></script>
<script type="text/javascript"
	src="/public/bower_components/jquery-easyui/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="/public/bower_components/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/public/js/storage/in/add.js"></script>
<script type="text/javascript" src="/public/js/storage/in/buss.js"></script>
<script type="text/javascript" src="/public/js/lovs.js"></script>
<meta charset="UTF-8">
<title>采购入库新增</title>
</head>
<body>
	<div class="tab">
		<ul class="tabtit" id="projecthome">
			<li class="current">返回列表</li>
		</ul>
	</div>
	<div class="ittab">
		<div class="usein">
			<form id="addDataFormHeader" name="addDataFormHeader">
				<h2 class="mt10">
					采购入库信息<b></b>
				</h2>
				<table class="table4" width="100%" border="1" cellspacing="0"
					cellpadding="0">

					<tr>
						<td>订单编号<span class="red">*</span>:
						</td>
						<td colspan="3"><input id="poHeaderId" name="poHeaderId" type="hidden"
							class="input_text w200" readonly="readonly" /><input
							id="poLineId" name="poLineId" type="hidden" class="input_text w200"
							readonly="readonly" /><input id="poNum" name="poNum" type="text"
							class="input_text w200" readonly="readonly"/></td>
					</tr>
					<tr>
						<td>入库日期<span class="red">*</span>:
						</td>
						<td><input class="easyui-datebox"
							style="width: 200px; height: 22px;" editable="false"
							id="instorageDate" name="instorageDate" type="text" /></td>
						<td>仓库名称<span class="red">*</span>:
						</td>
						<td><input id="storageId" name="storageId" type="hidden"
							class="input_text w200" /><input id="storageName"
							name="storageName" type="text" class="input_text w200"
							readonly="readonly" /></td>
					</tr>
					<tr>
						<td>物料编码<span class="red">*</span>:
						</td>
						<td><input id="materielId" name="materielId" type="hidden"
							class="input_text w200" /><input id="segment1" name="segment1"
							type="text" class="input_text w200" readonly="readonly" /></td>
						<td>物料名称<span class="red">*</span>:
						</td>
						<td><input id="materielName" name="materielName" type="text"
							class="input_text w200" readonly="readonly" /></td>
					</tr>
					<tr>
						<td>数量<span class="red">*</span>:
						</td>
						<td><input id="materielQuantity" name="materielQuantity"
							type="text" class="input_text w200" style='ime-mode: disabled;'
							onkeypress='return myNumberic(event)' onpaste='return false'
							ondragenter='return false' oncontextmenu='return false;' /></td>
						<td>单位<span class="red">*</span>:
						</td>
						<td><input id="materielUnit" name="materielUnit" type="text"
							class="input_text w200" /></td>
					</tr>
					<tr>
						<td>仓库管理员<span class="red">*</span>:
						</td>
						<td><input id="storageManager" name="storageManager"
							type="hidden" class="input_text w200" /><input
							id="storageManagerName" name="storageManagerName" type="text"
							class="input_text w200" readonly="readonly" /></td>
						<td>备注</td>
						<td><input id="remark" name="remark" type="text"
							class="input_text w200" /></td>
					</tr>
				</table>
			</form>
		</div>
	</div>
	<br>
	<br>
	<div class="usein" align="center">
		<a href="javascript:;"
			class="add btn btn-primary ml10 funcbtn add_user">保存</a> <a
			href="javascript:;"
			class="empty btn btn-danger ml10 funcbtn select_user">取消</a>
	</div>
	<!-- 弹出窗口 -->
	<div id="materiel_dialogbox" class="pop">
		<div class="usein">
			<h2 class="mt10">
				基本信息<b></b>
			</h2>
			<table class="table4" width="100%" border="0" cellspacing="0"
				cellpadding="0">
				<tr>
					<td>物料编码</td>
					<td class="tl"><input id="segment1Lov" type="text"
						class="input_text w200" /></td>
					<td>物料名称</td>
					<td class="tl"><input id="materielNameLov" type="text"
						class="input_text w200" /></td>
					<td class="tl"><a href="javascript:;"
						class="materielQuery btn btn-info ml10 funcbtn select_user"
						id='materielQuery'>查询</a></td>
				</tr>
			</table>
		</div>
		<div>
			<table class="easyui-datagrid" id="materielGrid"></table>
		</div>
	</div>
	<!-- 弹出窗口 -->
	<div id="storageManager_dialogbox" class="pop">
		<div class="usein">
			<h2 class="mt10">
				基本信息<b></b>
			</h2>
			<table class="table4" width="100%" border="0" cellspacing="0"
				cellpadding="0">
				<tr>
					<td>姓名</td>
					<td class="tl"><input id="employeeNameLov" type="text"
						class="input_text w200" /></td>
					<td class="tl"><a href="javascript:;"
						class="storageManagerQuery btn btn-info ml10 funcbtn select_user"
						id='storageManagerQuery'>查询</a></td>
				</tr>
			</table>
		</div>
		<div>
			<table class="easyui-datagrid" id="storageManagerGrid"></table>
		</div>
	</div>
	<!-- 弹出窗口 -->
	<div id="storage_dialogbox" class="pop">
		<div class="usein">
			<h2 class="mt10">
				基本信息<b></b>
			</h2>
			<table class="table4" width="100%" border="0" cellspacing="0"
				cellpadding="0">
				<tr>
					<td>仓库名称</td>
					<td class="tl"><input id="storageNameLov" type="text"
						class="input_text w200" /></td>
					<td>仓库地址</td>
					<td class="tl"><input id="storageAddressLov" type="text"
						class="input_text w200" /></td>
					<td class="tl"><a href="javascript:;"
						class="storageQuery btn btn-info ml10 funcbtn select_user"
						id='storageQuery'>查询</a></td>
				</tr>
			</table>
		</div>
		<div>
			<table class="easyui-datagrid" id="storageGrid"></table>
		</div>
	</div>
	<!-- 弹出窗口 -->
	<div id="order_dialogbox" class="pop">
		<div class="usein">
			<h2 class="mt10">
				基本信息<b></b>
			</h2>
			<table class="table4" width="100%" border="0" cellspacing="0"
				cellpadding="0">
				<tr>
					<td>订单编号</td>
					<td class="tl"><input id="poNumLov" type="text"
						class="input_text w200" /></td>
					<td>物料编码</td>
					<td class="tl"><input id="materielCodeLov" type="text"
						class="input_text w200" /></td>
				</tr>
				<tr>
					<td>物料名称</td>
					<td class="tl"><input id="materielNameLov4Order" type="text"
						class="input_text w200" /></td>
					<td class="tl" align="right"><a href="javascript:;"
						class="orderQuery btn btn-info ml10 funcbtn select_user"
						id='orderQuery'>查询</a></td>
				</tr>
			</table>
		</div>
		<div>
			<table class="easyui-datagrid" id="orderGrid"></table>
		</div>
	</div>
</body>
</html>